//package com.cn.springcloudwechat.serviceImpl;
//
//import com.cn.springcloudwechat.common.utils.ErrorUtil;
//import com.cn.springcloudwechat.mapper.mapper.testMapper.UserCollectIdMapper;
//import com.cn.springcloudwechat.model.testmodel.UserCollectId;
//import com.cn.springcloudwechat.service.UserCollectIdService;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Service;
//import org.springframework.util.Assert;
//
//import java.util.List;
//
//@Service
//public class UserCollectIdServiceImpl implements UserCollectIdService{
//
//    @Autowired
//    private UserCollectIdMapper userCollectIdMapper;
//
//    @Override
//    public List<UserCollectId> getCourse(Integer userId) {
//        Assert.notNull(userId,String.format(ErrorUtil.PARAMETER_NULL, "userId"));
//        List<UserCollectId> list=userCollectIdMapper.getCourse(userId);
//        return list;
//    }
//
//    @Override
//    public List<UserCollectId> getGraphic(Integer userId) {
//        Assert.notNull(userId,String.format(ErrorUtil.PARAMETER_NULL, "userId"));
//        List<UserCollectId> list=userCollectIdMapper.getGraphic(userId);
//        return list;
//    }
//}
